//
//  InClassCollectionViewCell.m
//  Inner  Voice
//
//  Created by Martin.Wang on 16/2/29.
//  Copyright © 2016年 徐海宇. All rights reserved.
//

#import "InClassCollectionViewCell.h"

#import "UIImageView+WebCache.h"

@implementation InClassCollectionViewCell

- (void)awakeFromNib {
    
//    self.classImage.image = [UIImage imageNamed:@"1.jpg"];
}
- (void)layoutSubviews {
    [super layoutSubviews];
    
    self.classImage.layer.masksToBounds = YES;
    
    
    self.classImage.layer.cornerRadius = self.frame.size.height*0.65/2;

        NSLog(@"频道 %f",self.frame.size.height);
}
//- (void)loadImageWithStr:(NSString*)str{
//    
//    NSURL *url = [NSURL URLWithString:str];
//    //    给imaageView加载网络图片，之前先用1.jpg
//    [self.classImage sd_setImageWithURL:url placeholderImage:[UIImage imageNamed:@"1.jpg"]];
//
//}


@end
